package com.example.algorithm_learning_platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Data
@TableName("algorithm_case")
@Getter
@Setter
public class AlgorithmCase {
    @TableId(value = "case_id", type = IdType.AUTO)
    private Integer caseId;
    
    private Integer typeId;
    private String caseName;
    private String description;
    private String pseudoCode;
    private String implementation;
    private String complexityAnalysis;
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 